.class public final Lnbisdk/fa;
.super Lnbisdk/ow;


# instance fields
.field private cB:Z

.field private hG:Lnbisdk/ji;

.field private hH:Lnbisdk/jy;


# direct methods
.method public constructor <init>(Lnbisdk/jy;)V
    .locals 0

    invoke-direct {p0}, Lnbisdk/ow;-><init>()V

    iput-object p1, p0, Lnbisdk/fa;->hH:Lnbisdk/jy;

    return-void
.end method


# virtual methods
.method public final b(Lnbisdk/kp;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IllegalStateException;
        }
    .end annotation

    iget-boolean v0, p0, Lnbisdk/fa;->cB:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Another request in progress"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    new-instance v0, Lnbisdk/ji;

    iget-object v1, p0, Lnbisdk/fa;->hH:Lnbisdk/jy;

    invoke-direct {v0, p1, v1, p0}, Lnbisdk/ji;-><init>(Lnbisdk/kp;Lnbisdk/jy;Lnbisdk/fa;)V

    iput-object v0, p0, Lnbisdk/fa;->hG:Lnbisdk/ji;

    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_1

    invoke-static {p1}, Lnbisdk/cq;->a(Lnbisdk/kp;)V

    :cond_1
    const/4 v0, 0x1

    iput-boolean v0, p0, Lnbisdk/fa;->cB:Z

    iget-object v0, p0, Lnbisdk/fa;->hG:Lnbisdk/ji;

    invoke-virtual {v0}, Lnbisdk/ji;->start()V

    return-void
.end method

.method public final cancelRequest()V
    .locals 1

    iget-boolean v0, p0, Lnbisdk/fa;->cB:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    iput-boolean v0, p0, Lnbisdk/fa;->cB:Z

    iget-object v0, p0, Lnbisdk/fa;->hG:Lnbisdk/ji;

    invoke-virtual {v0}, Lnbisdk/ji;->cancel()V

    const/4 v0, 0x0

    iput-object v0, p0, Lnbisdk/fa;->hG:Lnbisdk/ji;

    :cond_0
    return-void
.end method

.method final clear()V
    .locals 1

    const/4 v0, 0x0

    iput-boolean v0, p0, Lnbisdk/fa;->cB:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lnbisdk/fa;->hG:Lnbisdk/ji;

    return-void
.end method

.method public final isRequestInProgress()Z
    .locals 1

    iget-boolean v0, p0, Lnbisdk/fa;->cB:Z

    return v0
.end method
